#coding=utf-8
#@Time:2020/5/19 1:44 PM
#@Author:希哥
#@File:run_logs.py
import logging

def get_logger():
    global logPath
    try:
        logPath
    except NameError:
        logPath = ""
    FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
    logging.basicConfig(level=logging.INFO, format=FORMAT)
    return logging